Skip to content

Add Cylc Review (from Cylc 7)#755

Open
wxtim wants to merge 9 commits intocylc:masterfrom
wxtim:feat.cylc-review
Open

Add Cylc Review (from Cylc 7)#755
wxtim wants to merge 9 commits intocylc:masterfrom
wxtim:feat.cylc-review

Conversation

@wxtim
Copy link
Member

@wxtim wxtim commented Nov 26, 2025

Closes cylc/cylc-flow#5937 and cylc/cylc-flow#3441
Requires cylc/cylc-flow#7068 to work correctly (else cylc review is labelled a dead-end).

Sort of requires cylc/release-actions#136 To run coverage later.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).

Test working can be demonstrated by adding this to CI.

          pip uninstall cylc-flow -y
          pip install git+https://github.com/wxtim/cylc@feat.cylc-review

https://github.com/cylc/cylc-uiserver/actions/runs/19763672460/job/56631293468

  • Changelog entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@wxtim wxtim marked this pull request as draft November 26, 2025 15:52
@wxtim wxtim mentioned this pull request Nov 28, 2025
8 tasks
@wxtim wxtim force-pushed the feat.cylc-review branch 5 times, most recently from befa4f2 to f35b60c Compare December 4, 2025 10:19
@wxtim wxtim marked this pull request as ready for review December 4, 2025 11:50
@wxtim wxtim force-pushed the feat.cylc-review branch 4 times, most recently from b528eea to 37dc894 Compare December 5, 2025 10:52
@ChrisPaulBennett
Copy link
Contributor

I just had a look at the macOS failures to see I could offer any help........Ooooof.
I'm starting to think that supporting macOS really isn't worth it....

@wxtim wxtim force-pushed the feat.cylc-review branch 6 times, most recently from f4fc283 to c4b0ae2 Compare December 8, 2025 11:27
@wxtim
Copy link
Member Author

wxtim commented Dec 8, 2025

Tests will fail until other branches merged - this commit's tests shows that they should pass after those are merged.

ChrisPaulBennett

This comment was marked as resolved.

@ChrisPaulBennett ChrisPaulBennett self-requested a review December 15, 2025 09:32
Copy link
Contributor

@ChrisPaulBennett ChrisPaulBennett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image Something is not right with the sorting of `last active time`. It appears to be backwards

Comment on lines +124 to +125
coverage combine --append src/cylc-flow
coverage combine --append .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the tests are failing due to the duplicate coverage combine calls (the command fails if there is no data to combine).

@wxtim wxtim force-pushed the feat.cylc-review branch from ce2c744 to 1c47b3d Compare March 10, 2026 17:22
@oliver-sanders
Copy link
Member

Now complaining because the src/cylc-uiserver directory does not exist.

Not sure the --append is needed if the coverage is properly configured?

@oliver-sanders
Copy link
Member

@wxtim, are cylc-flow changes (cylc/flow/scripts/cylc.py) required for this to work?

@wxtim wxtim force-pushed the feat.cylc-review branch from d89a1db to a6263a4 Compare March 11, 2026 11:03
@wxtim wxtim force-pushed the feat.cylc-review branch from a6263a4 to 63d263c Compare March 11, 2026 11:04
raise cherrypy.HTTPError(404) from None
f_size = tar_info.size
handle = tar_f.extractfile(path_in_tar, 'rb')
handle = tar_f.extractfile(path_in_tar)
Copy link
Member Author

@wxtim wxtim Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see how this ever worked.

@wxtim wxtim requested a review from oliver-sanders March 11, 2026 12:51
@wxtim
Copy link
Member Author

wxtim commented Mar 11, 2026

@oliver-sanders ffeb50f has passing tests and coverage associated with it. Coverage only reaches 75%. Will see if I can improve, but might be better as follow up?

@oliver-sanders
Copy link
Member

We have coverage information for the tests we inherited from the old version, that's all that matters.

@oliver-sanders
Copy link
Member

@wxtim, are the cylc/release-actions changes required for this in place?

If so, lets run CI with the new config to make sure it's working.

@wxtim
Copy link
Member Author

wxtim commented Mar 11, 2026

@wxtim, are the cylc/release-actions changes required for this in place?

If so, lets run CI with the new config to make sure it's working.

cylc/cylc-flow#7232

I hadn't expected cylc/cylc-flow#7068 to be merged, so I was merrily pushing changes to it.

@oliver-sanders
Copy link
Member

Merged: cylc/cylc-flow#7232

Kicking tests...

@oliver-sanders
Copy link
Member

Tests ran (and passed!), but coverage didn't, likely due to the skip-ci comment!

@wxtim wxtim force-pushed the feat.cylc-review branch from 33a6f3c to 02a6626 Compare March 12, 2026 09:09
@wxtim wxtim closed this Mar 12, 2026
@wxtim wxtim reopened this Mar 12, 2026
@wxtim
Copy link
Member Author

wxtim commented Mar 12, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cylc review: port to Cylc 8

3 participants